package com.example.xiaomi.service;

import com.example.xiaomi.entity.Useranalysis;
import com.example.xiaomi.entity.contents;
import com.example.xiaomi.mapper.UserMapper;
import com.example.xiaomi.mapper.UseranalysisMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UseranalysisImpl implements UseranalysisService{
    @Autowired
    private UseranalysisMapper mapper;
    @Override
    public List<Useranalysis> findAllactive() {
        List<Useranalysis> allActive = mapper.findAllactive();
        return allActive;
    }

    @Override
    public List<Useranalysis> findSentiment() {
        List<Useranalysis> allsentiment = mapper.findSentiment();
        return allsentiment;
    }

    @Override
    public List<Useranalysis> findSentimentwords() {
        List<Useranalysis> findSentimentwords = mapper.findSentimentwords();
        return findSentimentwords;
    }

    @Override
    public List<Useranalysis> findAllip() {
        List<Useranalysis> findAllip = mapper.findAllip();
        return findAllip;
    }

    @Override
    public List<Useranalysis> findLabel() {
        List<Useranalysis> findLabel =mapper.findLabel();
        return findLabel;
    }

    @Override
    public List<Useranalysis> findGender() {
        List<Useranalysis> findGender = mapper.findGender();
        return findGender;
    }

    @Override
    public List<Useranalysis> findAge() {
        List<Useranalysis> findAge =mapper.findAge();
        return findAge;
    }

}
